package com.example.login.entity;

import com.example.login.R;

import java.util.ArrayList;
import java.util.List;

public class DataService {


//模拟提供数据
    public static List<ProductInfo> getListDta(int position) {
        List<ProductInfo> list=new ArrayList<>();
        if (position == 0) {
            list.add(new ProductInfo(1001, R.drawable.eat1,"零食大礼包整箱解馋夜宵充饥休闲好吃不上火","品牌： 小馋鬼系列：美味零食大礼包整箱解馋夜宵充饥休闲好吃不上火",198));
            list.add(new ProductInfo(1002, R.drawable.eat2,"【三只松鼠蛋黄酥500g】雪媚娘奶黄流心麻薯代餐零食蛋糕早餐点心","品牌： 三只松鼠：美味零食大礼包整箱解馋夜宵充饥休闲好吃不上火",38));

        }else if (position==1){
            list.add(new ProductInfo(1003, R.drawable.drink1,"【立即购买】vita维他柠檬茶柠檬味茶饮料果味饮品250ml*16整箱\n","【立即购买】vita维他柠檬茶柠檬味茶饮料果味饮品250ml*16整箱\n",48));
            list.add(new ProductInfo(1004, R.drawable.drink2,"王老吉凉茶植物饮料310ml*12罐清爽解辣解腻（新老包装随机发货）","王老吉凉茶植物饮料310ml*12罐清爽解辣解腻（新老包装随机发货）",49));

        }else if (position==2){
            list.add(new ProductInfo(1005, R.drawable.fuzhuang1,"【臻选礼遇】MaxMara春夏女装棉府绸无袖连衣裙","【臻选礼遇】MaxMara春夏女装棉府绸无袖连衣裙",198));
            list.add(new ProductInfo(1006, R.drawable.fz2,"莱赛尔天丝亚麻圆领针织短袖T恤女小飞袖纯色显瘦打底衫夏季上衣","莱赛尔天丝亚麻圆领针织短袖T恤女小飞袖纯色显瘦打底衫夏季上衣",169));

        }else if (position==3){
            list.add(new ProductInfo(1007, R.drawable.dq1,"[政府补贴]美的GC5微蒸烤一体机家用嵌入式蒸烤箱智能微波炉炸","[政府补贴]美的GC5微蒸烤一体机家用嵌入式蒸烤箱智能微波炉炸",198));
            list.add(new ProductInfo(1008, R.drawable.dq2,"【政府补贴15%】云鲸J5/J5Max扫地机器人智能仿生手扫拖毛发0缠绕","【政府补贴15%】云鲸J5/J5Max扫地机器人智能仿生手扫拖毛发0缠绕",318));

        }else if (position==4){
            list.add(new ProductInfo(1009, R.drawable.ry1,"端午节伴手礼实用公司周年活动商务创意礼品定制logo入职生日礼\n","端午节伴手礼实用公司周年活动商务创意礼品定制logo入职生日礼\n",168));
            list.add(new ProductInfo(1010, R.drawable.ry2,"生日礼物女生送朋友闺蜜实用定制檀木梳镜子套装新婚送新人伴手礼\n","生日礼物女生送朋友闺蜜实用定制檀木梳镜子套装新婚送新人伴手礼\n",98));

        }else {
            list.add(new ProductInfo(1011, R.drawable.hz1,"【618现货】兰蔻菁纯护肤套装 紧致淡纹抗老 生日礼物送女友","【618现货】兰蔻菁纯护肤套装 紧致淡纹抗老 生日礼物送女友",198));
            list.add(new ProductInfo(1012, R.drawable.hz2,"【618立即抢购】赫莲娜黑绷带面霜抗皱紧致晚霜护肤品化妆品礼盒\n","【618立即抢购】赫莲娜黑绷带面霜抗皱紧致晚霜护肤品化妆品礼盒\n"
                    ,168));

        }
        return list;


    }

 }

